package com.sayimo.maker.mall.orders.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sayimo.framework.common.AbstractBaseService;
import com.sayimo.framework.exception.DaoException;
import com.sayimo.framework.exception.ServiceException;
import com.sayimo.maker.mall.orders.dao.OrderReturnFlowDao;
import com.sayimo.maker.mall.orders.service.OrderReturnFlowService;
import com.sayimo.maker.mall.orders.vo.OrderReturnFlow;


/**
 * @Copyright (C)  广东省尚一互联网有限公司
 * @Project: schoolmallapi
 * @ClassName: OrderReturnFlowServiceImpl
 * @Description: 
 * @author:	wangyang
 * @date:	日期：2016年7月16日  时间：下午6:05:11
 * @version 2.0.0
 */
@Service(value="ordersReturnFlowService")
public class OrderReturnFlowServiceImpl extends AbstractBaseService implements OrderReturnFlowService{

	@Autowired
	private OrderReturnFlowDao orderReturnFlowDao;

	/** 
	* @Title: insertReturnFlow 
	* @Description: 添加退换货订单流程 
	* @param flow
	* @return void
	* @throws 
	*/
	@Override
	public void insertReturnFlow(OrderReturnFlow flow) throws ServiceException {
		try {
			 this.orderReturnFlowDao.insertOrderReturnFlow(flow);
		} catch (DaoException e) {
			throw new ServiceException(e);
		}
		
	}

}
